<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>


</head>
<body>
<script type="text/javascript">
    function OnPageOfficeCtrlInit() {
        // PageOffice的初始化事件回调函数，您可以在这里添加自定义按钮
        pageofficectrl.AddCustomToolButton("保存", "Save", 1);
        pageofficectrl.AddCustomToolButton("全屏/还原", "IsFullScreen", 4);
    }
    //保存页面
    function Save() {
        pageofficectrl.WebSave();
    }

    //全屏/还原
    function IsFullScreen() {
        pageofficectrl.FullScreen = !document
            .getElementById("PageOfficeCtrl1").FullScreen;
    }
</script>
        <div class="flow4">
            <strong>当前用户：</strong>
            <span style="color: Red;" th:utext="${userName}"><%=userName%></span>
        </div>

        <div style=" width:auto; height:700px;" th:utext="${pageoffice}">
        </div>



</body>

</html>
